<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>&lt;%GLibRegexError&gt;: </title>
<meta name="generator" content="DocBook XSL Stylesheets V1.79.2">
<link rel="home" href="index.html" title="">
<link rel="up" href="ch01.html" title="GLib">
<link rel="prev" href="re52.html" title="&lt;%GLibRegexCompileFlags&gt;">
<link rel="next" href="re54.html" title="&lt;%GLibRegexMatchFlags&gt;">
<meta name="generator" content="GTK-Doc V1.33.1 (XML mode)">
<link rel="stylesheet" href="style.css" type="text/css">
</head>
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="5"><tr valign="middle">
<td width="100%" align="left" class="shortcuts"></td>
<td><a accesskey="h" href="index.html"><img src="home.png" width="16" height="16" border="0" alt="Home"></a></td>
<td><img src="up-insensitive.png" width="16" height="16" border="0"></td>
<td><a accesskey="p" href="re52.html"><img src="left.png" width="16" height="16" border="0" alt="Prev"></a></td>
<td><a accesskey="n" href="re54.html"><img src="right.png" width="16" height="16" border="0" alt="Next"></a></td>
</tr></table>
<div class="refentry">
<a name="id-1.1.54"></a><div class="titlepage"></div>
<div class="refnamediv">
<h2>&lt;%GLibRegexError&gt;</h2>
<p>&lt;%GLibRegexError&gt;</p>
</div>
<div class="refsect1">
<a name="id-1.1.54.2"></a><h2>Description</h2>
<p>Error codes returned by regular expressions functions.</p>
</div>
<div class="refsect1">
<a name="id-1.1.54.3"></a><h2>Members</h2>
<div class="refsect2">
<a name="id-1.1.54.3.2"></a><h3>compile</h3>
<p class="remark"><em><span class="remark">alias <code class="code">G_REGEX_ERROR_COMPILE</code></span></em></p>
<p>Compilation of the regular expression failed.</p>
</div>
<div class="refsect2">
<a name="id-1.1.54.3.3"></a><h3>optimize</h3>
<p class="remark"><em><span class="remark">alias <code class="code">G_REGEX_ERROR_OPTIMIZE</code></span></em></p>
<p>Optimization of the regular expression failed.</p>
</div>
<div class="refsect2">
<a name="id-1.1.54.3.4"></a><h3>replace</h3>
<p class="remark"><em><span class="remark">alias <code class="code">G_REGEX_ERROR_REPLACE</code></span></em></p>
<p>Replacement failed due to an ill-formed replacement
    string.</p>
</div>
<div class="refsect2">
<a name="id-1.1.54.3.5"></a><h3>match</h3>
<p class="remark"><em><span class="remark">alias <code class="code">G_REGEX_ERROR_MATCH</code></span></em></p>
<p>The match process failed.</p>
</div>
<div class="refsect2">
<a name="id-1.1.54.3.6"></a><h3>internal</h3>
<p class="remark"><em><span class="remark">alias <code class="code">G_REGEX_ERROR_INTERNAL</code></span></em></p>
<p>Internal error of the regular expression engine.
    Since 2.16</p>
</div>
<div class="refsect2">
<a name="id-1.1.54.3.7"></a><h3>stray-backslash</h3>
<p class="remark"><em><span class="remark">alias <code class="code">G_REGEX_ERROR_STRAY_BACKSLASH</code></span></em></p>
<p>"\\" at end of pattern. Since 2.16</p>
</div>
<div class="refsect2">
<a name="id-1.1.54.3.8"></a><h3>missing-control-char</h3>
<p class="remark"><em><span class="remark">alias <code class="code">G_REGEX_ERROR_MISSING_CONTROL_CHAR</code></span></em></p>
<p>"\\c" at end of pattern. Since 2.16</p>
</div>
<div class="refsect2">
<a name="id-1.1.54.3.9"></a><h3>unrecognized-escape</h3>
<p class="remark"><em><span class="remark">alias <code class="code">G_REGEX_ERROR_UNRECOGNIZED_ESCAPE</code></span></em></p>
<p>Unrecognized character follows "\\".
    Since 2.16</p>
</div>
<div class="refsect2">
<a name="id-1.1.54.3.10"></a><h3>quantifiers-out-of-order</h3>
<p class="remark"><em><span class="remark">alias <code class="code">G_REGEX_ERROR_QUANTIFIERS_OUT_OF_ORDER</code></span></em></p>
<p>Numbers out of order in "{}"
    quantifier. Since 2.16</p>
</div>
<div class="refsect2">
<a name="id-1.1.54.3.11"></a><h3>quantifier-too-big</h3>
<p class="remark"><em><span class="remark">alias <code class="code">G_REGEX_ERROR_QUANTIFIER_TOO_BIG</code></span></em></p>
<p>Number too big in "{}" quantifier.
    Since 2.16</p>
</div>
<div class="refsect2">
<a name="id-1.1.54.3.12"></a><h3>unterminated-character-class</h3>
<p class="remark"><em><span class="remark">alias <code class="code">G_REGEX_ERROR_UNTERMINATED_CHARACTER_CLASS</code></span></em></p>
<p>Missing terminating "]" for
    character class. Since 2.16</p>
</div>
<div class="refsect2">
<a name="id-1.1.54.3.13"></a><h3>invalid-escape-in-character-class</h3>
<p class="remark"><em><span class="remark">alias <code class="code">G_REGEX_ERROR_INVALID_ESCAPE_IN_CHARACTER_CLASS</code></span></em></p>
<p>Invalid escape sequence
    in character class. Since 2.16</p>
</div>
<div class="refsect2">
<a name="id-1.1.54.3.14"></a><h3>range-out-of-order</h3>
<p class="remark"><em><span class="remark">alias <code class="code">G_REGEX_ERROR_RANGE_OUT_OF_ORDER</code></span></em></p>
<p>Range out of order in character class.
    Since 2.16</p>
</div>
<div class="refsect2">
<a name="id-1.1.54.3.15"></a><h3>nothing-to-repeat</h3>
<p class="remark"><em><span class="remark">alias <code class="code">G_REGEX_ERROR_NOTHING_TO_REPEAT</code></span></em></p>
<p>Nothing to repeat. Since 2.16</p>
</div>
<div class="refsect2">
<a name="id-1.1.54.3.16"></a><h3>unrecognized-character</h3>
<p class="remark"><em><span class="remark">alias <code class="code">G_REGEX_ERROR_UNRECOGNIZED_CHARACTER</code></span></em></p>
<p>Unrecognized character after "(?",
    "(?&lt;" or "(?P". Since 2.16</p>
</div>
<div class="refsect2">
<a name="id-1.1.54.3.17"></a><h3>posix-named-class-outside-class</h3>
<p class="remark"><em><span class="remark">alias <code class="code">G_REGEX_ERROR_POSIX_NAMED_CLASS_OUTSIDE_CLASS</code></span></em></p>
<p>POSIX named classes are
    supported only within a class. Since 2.16</p>
</div>
<div class="refsect2">
<a name="id-1.1.54.3.18"></a><h3>unmatched-parenthesis</h3>
<p class="remark"><em><span class="remark">alias <code class="code">G_REGEX_ERROR_UNMATCHED_PARENTHESIS</code></span></em></p>
<p>Missing terminating ")" or ")"
    without opening "(". Since 2.16</p>
</div>
<div class="refsect2">
<a name="id-1.1.54.3.19"></a><h3>inexistent-subpattern-reference</h3>
<p class="remark"><em><span class="remark">alias <code class="code">G_REGEX_ERROR_INEXISTENT_SUBPATTERN_REFERENCE</code></span></em></p>
<p>Reference to non-existent
    subpattern. Since 2.16</p>
</div>
<div class="refsect2">
<a name="id-1.1.54.3.20"></a><h3>unterminated-comment</h3>
<p class="remark"><em><span class="remark">alias <code class="code">G_REGEX_ERROR_UNTERMINATED_COMMENT</code></span></em></p>
<p>Missing terminating ")" after comment.
    Since 2.16</p>
</div>
<div class="refsect2">
<a name="id-1.1.54.3.21"></a><h3>expression-too-large</h3>
<p class="remark"><em><span class="remark">alias <code class="code">G_REGEX_ERROR_EXPRESSION_TOO_LARGE</code></span></em></p>
<p>Regular expression too large.
    Since 2.16</p>
</div>
<div class="refsect2">
<a name="id-1.1.54.3.22"></a><h3>memory-error</h3>
<p class="remark"><em><span class="remark">alias <code class="code">G_REGEX_ERROR_MEMORY_ERROR</code></span></em></p>
<p>Failed to get memory. Since 2.16</p>
</div>
<div class="refsect2">
<a name="id-1.1.54.3.23"></a><h3>variable-length-lookbehind</h3>
<p class="remark"><em><span class="remark">alias <code class="code">G_REGEX_ERROR_VARIABLE_LENGTH_LOOKBEHIND</code></span></em></p>
<p>Lookbehind assertion is not
    fixed length. Since 2.16</p>
</div>
<div class="refsect2">
<a name="id-1.1.54.3.24"></a><h3>malformed-condition</h3>
<p class="remark"><em><span class="remark">alias <code class="code">G_REGEX_ERROR_MALFORMED_CONDITION</code></span></em></p>
<p>Malformed number or name after "(?(".
    Since 2.16</p>
</div>
<div class="refsect2">
<a name="id-1.1.54.3.25"></a><h3>too-many-conditional-branches</h3>
<p class="remark"><em><span class="remark">alias <code class="code">G_REGEX_ERROR_TOO_MANY_CONDITIONAL_BRANCHES</code></span></em></p>
<p>Conditional group contains
    more than two branches. Since 2.16</p>
</div>
<div class="refsect2">
<a name="id-1.1.54.3.26"></a><h3>assertion-expected</h3>
<p class="remark"><em><span class="remark">alias <code class="code">G_REGEX_ERROR_ASSERTION_EXPECTED</code></span></em></p>
<p>Assertion expected after "(?(".
    Since 2.16</p>
</div>
<div class="refsect2">
<a name="id-1.1.54.3.27"></a><h3>unknown-posix-class-name</h3>
<p class="remark"><em><span class="remark">alias <code class="code">G_REGEX_ERROR_UNKNOWN_POSIX_CLASS_NAME</code></span></em></p>
<p>Unknown POSIX class name.
    Since 2.16</p>
</div>
<div class="refsect2">
<a name="id-1.1.54.3.28"></a><h3>posix-collating-elements-not-supported</h3>
<p class="remark"><em><span class="remark">alias <code class="code">G_REGEX_ERROR_POSIX_COLLATING_ELEMENTS_NOT_SUPPORTED</code></span></em></p>
<p>POSIX collating
    elements are not supported. Since 2.16</p>
</div>
<div class="refsect2">
<a name="id-1.1.54.3.29"></a><h3>hex-code-too-large</h3>
<p class="remark"><em><span class="remark">alias <code class="code">G_REGEX_ERROR_HEX_CODE_TOO_LARGE</code></span></em></p>
<p>Character value in "\\x{...}" sequence
    is too large. Since 2.16</p>
</div>
<div class="refsect2">
<a name="id-1.1.54.3.30"></a><h3>invalid-condition</h3>
<p class="remark"><em><span class="remark">alias <code class="code">G_REGEX_ERROR_INVALID_CONDITION</code></span></em></p>
<p>Invalid condition "(?(0)". Since 2.16</p>
</div>
<div class="refsect2">
<a name="id-1.1.54.3.31"></a><h3>single-byte-match-in-lookbehind</h3>
<p class="remark"><em><span class="remark">alias <code class="code">G_REGEX_ERROR_SINGLE_BYTE_MATCH_IN_LOOKBEHIND</code></span></em></p>
<p>\\C not allowed in
    lookbehind assertion. Since 2.16</p>
</div>
<div class="refsect2">
<a name="id-1.1.54.3.32"></a><h3>infinite-loop</h3>
<p class="remark"><em><span class="remark">alias <code class="code">G_REGEX_ERROR_INFINITE_LOOP</code></span></em></p>
<p>Recursive call could loop indefinitely.
    Since 2.16</p>
</div>
<div class="refsect2">
<a name="id-1.1.54.3.33"></a><h3>missing-subpattern-name-terminator</h3>
<p class="remark"><em><span class="remark">alias <code class="code">G_REGEX_ERROR_MISSING_SUBPATTERN_NAME_TERMINATOR</code></span></em></p>
<p>Missing terminator
    in subpattern name. Since 2.16</p>
</div>
<div class="refsect2">
<a name="id-1.1.54.3.34"></a><h3>duplicate-subpattern-name</h3>
<p class="remark"><em><span class="remark">alias <code class="code">G_REGEX_ERROR_DUPLICATE_SUBPATTERN_NAME</code></span></em></p>
<p>Two named subpatterns have
    the same name. Since 2.16</p>
</div>
<div class="refsect2">
<a name="id-1.1.54.3.35"></a><h3>malformed-property</h3>
<p class="remark"><em><span class="remark">alias <code class="code">G_REGEX_ERROR_MALFORMED_PROPERTY</code></span></em></p>
<p>Malformed "\\P" or "\\p" sequence.
    Since 2.16</p>
</div>
<div class="refsect2">
<a name="id-1.1.54.3.36"></a><h3>unknown-property</h3>
<p class="remark"><em><span class="remark">alias <code class="code">G_REGEX_ERROR_UNKNOWN_PROPERTY</code></span></em></p>
<p>Unknown property name after "\\P" or
    "\\p". Since 2.16</p>
</div>
<div class="refsect2">
<a name="id-1.1.54.3.37"></a><h3>subpattern-name-too-long</h3>
<p class="remark"><em><span class="remark">alias <code class="code">G_REGEX_ERROR_SUBPATTERN_NAME_TOO_LONG</code></span></em></p>
<p>Subpattern name is too long
    (maximum 32 characters). Since 2.16</p>
</div>
<div class="refsect2">
<a name="id-1.1.54.3.38"></a><h3>too-many-subpatterns</h3>
<p class="remark"><em><span class="remark">alias <code class="code">G_REGEX_ERROR_TOO_MANY_SUBPATTERNS</code></span></em></p>
<p>Too many named subpatterns (maximum
    10,000). Since 2.16</p>
</div>
<div class="refsect2">
<a name="id-1.1.54.3.39"></a><h3>invalid-octal-value</h3>
<p class="remark"><em><span class="remark">alias <code class="code">G_REGEX_ERROR_INVALID_OCTAL_VALUE</code></span></em></p>
<p>Octal value is greater than "\\377".
    Since 2.16</p>
</div>
<div class="refsect2">
<a name="id-1.1.54.3.40"></a><h3>too-many-branches-in-define</h3>
<p class="remark"><em><span class="remark">alias <code class="code">G_REGEX_ERROR_TOO_MANY_BRANCHES_IN_DEFINE</code></span></em></p>
<p>"DEFINE" group contains more
    than one branch. Since 2.16</p>
</div>
<div class="refsect2">
<a name="id-1.1.54.3.41"></a><h3>define-repetion</h3>
<p class="remark"><em><span class="remark">alias <code class="code">G_REGEX_ERROR_DEFINE_REPETION</code></span></em></p>
<p>Repeating a "DEFINE" group is not allowed.
    This error is never raised. Since: 2.16 Deprecated: 2.34</p>
</div>
<div class="refsect2">
<a name="id-1.1.54.3.42"></a><h3>inconsistent-newline-options</h3>
<p class="remark"><em><span class="remark">alias <code class="code">G_REGEX_ERROR_INCONSISTENT_NEWLINE_OPTIONS</code></span></em></p>
<p>Inconsistent newline options.
    Since 2.16</p>
</div>
<div class="refsect2">
<a name="id-1.1.54.3.43"></a><h3>missing-back-reference</h3>
<p class="remark"><em><span class="remark">alias <code class="code">G_REGEX_ERROR_MISSING_BACK_REFERENCE</code></span></em></p>
<p>"\\g" is not followed by a braced,
     angle-bracketed, or quoted name or number, or by a plain number. Since: 2.16</p>
</div>
<div class="refsect2">
<a name="id-1.1.54.3.44"></a><h3>invalid-relative-reference</h3>
<p class="remark"><em><span class="remark">alias <code class="code">G_REGEX_ERROR_INVALID_RELATIVE_REFERENCE</code></span></em></p>
<p>relative reference must not be zero. Since: 2.34</p>
</div>
<div class="refsect2">
<a name="id-1.1.54.3.45"></a><h3>backtracking-control-verb-argument-forbidden</h3>
<p class="remark"><em><span class="remark">alias <code class="code">G_REGEX_ERROR_BACKTRACKING_CONTROL_VERB_ARGUMENT_FORBIDDEN</code></span></em></p>
<p>the backtracing
    control verb used does not allow an argument. Since: 2.34</p>
</div>
<div class="refsect2">
<a name="id-1.1.54.3.46"></a><h3>unknown-backtracking-control-verb</h3>
<p class="remark"><em><span class="remark">alias <code class="code">G_REGEX_ERROR_UNKNOWN_BACKTRACKING_CONTROL_VERB</code></span></em></p>
<p>unknown backtracing
    control verb. Since: 2.34</p>
</div>
<div class="refsect2">
<a name="id-1.1.54.3.47"></a><h3>number-too-big</h3>
<p class="remark"><em><span class="remark">alias <code class="code">G_REGEX_ERROR_NUMBER_TOO_BIG</code></span></em></p>
<p>number is too big in escape sequence. Since: 2.34</p>
</div>
<div class="refsect2">
<a name="id-1.1.54.3.48"></a><h3>missing-subpattern-name</h3>
<p class="remark"><em><span class="remark">alias <code class="code">G_REGEX_ERROR_MISSING_SUBPATTERN_NAME</code></span></em></p>
<p>Missing subpattern name. Since: 2.34</p>
</div>
<div class="refsect2">
<a name="id-1.1.54.3.49"></a><h3>missing-digit</h3>
<p class="remark"><em><span class="remark">alias <code class="code">G_REGEX_ERROR_MISSING_DIGIT</code></span></em></p>
<p>Missing digit. Since 2.34</p>
</div>
<div class="refsect2">
<a name="id-1.1.54.3.50"></a><h3>invalid-data-character</h3>
<p class="remark"><em><span class="remark">alias <code class="code">G_REGEX_ERROR_INVALID_DATA_CHARACTER</code></span></em></p>
<p>In JavaScript compatibility mode,
    "[" is an invalid data character. Since: 2.34</p>
</div>
<div class="refsect2">
<a name="id-1.1.54.3.51"></a><h3>extra-subpattern-name</h3>
<p class="remark"><em><span class="remark">alias <code class="code">G_REGEX_ERROR_EXTRA_SUBPATTERN_NAME</code></span></em></p>
<p>different names for subpatterns of the
    same number are not allowed. Since: 2.34</p>
</div>
<div class="refsect2">
<a name="id-1.1.54.3.52"></a><h3>backtracking-control-verb-argument-required</h3>
<p class="remark"><em><span class="remark">alias <code class="code">G_REGEX_ERROR_BACKTRACKING_CONTROL_VERB_ARGUMENT_REQUIRED</code></span></em></p>
<p>the backtracing control
    verb requires an argument. Since: 2.34</p>
</div>
<div class="refsect2">
<a name="id-1.1.54.3.53"></a><h3>invalid-control-char</h3>
<p class="remark"><em><span class="remark">alias <code class="code">G_REGEX_ERROR_INVALID_CONTROL_CHAR</code></span></em></p>
<p>"\\c" must be followed by an ASCII
    character. Since: 2.34</p>
</div>
<div class="refsect2">
<a name="id-1.1.54.3.54"></a><h3>missing-name</h3>
<p class="remark"><em><span class="remark">alias <code class="code">G_REGEX_ERROR_MISSING_NAME</code></span></em></p>
<p>"\\k" is not followed by a braced, angle-bracketed, or
    quoted name. Since: 2.34</p>
</div>
<div class="refsect2">
<a name="id-1.1.54.3.55"></a><h3>not-supported-in-class</h3>
<p class="remark"><em><span class="remark">alias <code class="code">G_REGEX_ERROR_NOT_SUPPORTED_IN_CLASS</code></span></em></p>
<p>"\\N" is not supported in a class. Since: 2.34</p>
</div>
<div class="refsect2">
<a name="id-1.1.54.3.56"></a><h3>too-many-forward-references</h3>
<p class="remark"><em><span class="remark">alias <code class="code">G_REGEX_ERROR_TOO_MANY_FORWARD_REFERENCES</code></span></em></p>
<p>too many forward references. Since: 2.34</p>
</div>
<div class="refsect2">
<a name="id-1.1.54.3.57"></a><h3>name-too-long</h3>
<p class="remark"><em><span class="remark">alias <code class="code">G_REGEX_ERROR_NAME_TOO_LONG</code></span></em></p>
<p>the name is too long in "(*MARK)", "(*PRUNE)",
    "(*SKIP)", or "(*THEN)". Since: 2.34</p>
</div>
<div class="refsect2">
<a name="id-1.1.54.3.58"></a><h3>character-value-too-large</h3>
<p class="remark"><em><span class="remark">alias <code class="code">G_REGEX_ERROR_CHARACTER_VALUE_TOO_LARGE</code></span></em></p>
<p>the character value in the \\u sequence is
    too large. Since: 2.34</p>
</div>
</div>
</div>
<div class="footer">
<hr>Generated by GTK-Doc V1.33.1</div>
</body>
</html>
